package com.scpii.universal.pns.entity;

import java.util.Date;

/**
 * Users entity. @author MyEclipse Persistence Tools
 */

public class Users implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 8423593785243136659L;
	private Long id;
	private String userName;
	private String userAilas;
	private String password;
	private Date createDt;
	private Long createBy;
	private String updateDt;
	private Long updateBy;
	private String authorities;
	private String userType;
	private String passwordFormat;
	private Long appId;
	private String avatar;
	private String validCode;
	private String provider;
	private Long rankPoint;
	private Short rankId;
	private Long addressId;
	private String phoneNumber;
	private String email;
	private String sex;
	private Date lastLoginDt;
	private Date lastActivityDt;
	public static final String[] COLUMNS = { "用户名", "昵称", "性别", "积分", "会员等级",
			"地址", "电话号码", "邮箱" };
	public static final long TARGET_ID = 16;

	// Constructors

	/** default constructor */
	public Users() {
	}

	/** minimal constructor */
	public Users(String userName, String userAilas, String password) {
		this.userName = userName;
		this.userAilas = userAilas;
		this.password = password;
	}

	/** full constructor */
	public Users(String userName, String userAilas, String password,
			Date createDt, Long createBy, String updateDt, Long updateBy,
			String authorities, String userType, String passwordFormat,
			Long appId, String avatar, String validCode, String provider,
			Long rankPoint, Short rankId, Long addressId, String phoneNumber,
			String email, String sex, Date lastLoginDt, Date lastActivityDt) {
		this.userName = userName;
		this.userAilas = userAilas;
		this.password = password;
		this.createDt = createDt;
		this.createBy = createBy;
		this.updateDt = updateDt;
		this.updateBy = updateBy;
		this.authorities = authorities;
		this.userType = userType;
		this.passwordFormat = passwordFormat;
		this.appId = appId;
		this.avatar = avatar;
		this.validCode = validCode;
		this.provider = provider;
		this.rankPoint = rankPoint;
		this.rankId = rankId;
		this.addressId = addressId;
		this.phoneNumber = phoneNumber;
		this.email = email;
		this.sex = sex;
		this.lastLoginDt = lastLoginDt;
		this.lastActivityDt = lastActivityDt;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserAilas() {
		return this.userAilas;
	}

	public void setUserAilas(String userAilas) {
		this.userAilas = userAilas;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Date getCreateDt() {
		return createDt;
	}

	public void setCreateDt(Date createDt) {
		this.createDt = createDt;
	}

	public Long getCreateBy() {
		return this.createBy;
	}

	public void setCreateBy(Long createBy) {
		this.createBy = createBy;
	}

	public String getUpdateDt() {
		return this.updateDt;
	}

	public void setUpdateDt(String updateDt) {
		this.updateDt = updateDt;
	}

	public Long getUpdateBy() {
		return this.updateBy;
	}

	public void setUpdateBy(Long updateBy) {
		this.updateBy = updateBy;
	}

	public String getAuthorities() {
		return this.authorities;
	}

	public void setAuthorities(String authorities) {
		this.authorities = authorities;
	}

	public String getUserType() {
		return this.userType;
	}

	public void setUserType(String userType) {
		this.userType = userType;
	}

	public String getPasswordFormat() {
		return this.passwordFormat;
	}

	public void setPasswordFormat(String passwordFormat) {
		this.passwordFormat = passwordFormat;
	}

	public Long getAppId() {
		return this.appId;
	}

	public void setAppId(Long appId) {
		this.appId = appId;
	}

	public String getAvatar() {
		return this.avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public String getValidCode() {
		return this.validCode;
	}

	public void setValidCode(String validCode) {
		this.validCode = validCode;
	}

	public String getProvider() {
		return this.provider;
	}

	public void setProvider(String provider) {
		this.provider = provider;
	}

	public Long getRankPoint() {
		return this.rankPoint;
	}

	public void setRankPoint(Long rankPoint) {
		this.rankPoint = rankPoint;
	}

	public Short getRankId() {
		return this.rankId;
	}

	public void setRankId(Short rankId) {
		this.rankId = rankId;
	}

	public Long getAddressId() {
		return this.addressId;
	}

	public void setAddressId(Long addressId) {
		this.addressId = addressId;
	}

	public String getPhoneNumber() {
		return this.phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Date getLastLoginDt() {
		return lastLoginDt;
	}

	public void setLastLoginDt(Date lastLoginDt) {
		this.lastLoginDt = lastLoginDt;
	}

	public Date getLastActivityDt() {
		return this.lastActivityDt;
	}

	public void setLastActivityDt(Date lastActivityDt) {
		this.lastActivityDt = lastActivityDt;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

}